package com.cqggrw.dao;

import java.util.List;

import com.cqggrw.domain.TPiao;
import com.cqggrw.domain.TPiaoOpt;

public interface TouPiaoDaoI {

	public boolean add(String id, String name);
	public boolean addOpt(String objId, String name);
	public boolean del(Integer id);
	public boolean delObj(String id);
	public boolean modifyOpt(Integer objId, String name);
	public TPiao getOne(TPiao t);
	public String getLastId();
	public List<TPiao> get();
	public int getCount();
	public List<TPiaoOpt> getOptList(String id);
	public boolean modify(TPiao tp);
	public void doToupiao(Integer id);
}
